package com.dayu.share.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dayu.common.annotation.Excel;
import com.dayu.common.core.domain.BaseEntity;

/**
 * 商品报价对象 share_goods_price
 * 
 * @author HK
 * @date 2021-04-08
 */
public class ShareGoodsPrice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报价编号 */
    private Long priceId;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private Long goodsId;

    /** 规格编号组 */
    @Excel(name = "规格编号组")
    private String specsIds;

    /** 成色编号 */
    @Excel(name = "成色编号")
    private Long qualityId;

    /** 最新价格 */
    @Excel(name = "最新价格")
    private BigDecimal newPrice;

    /** 历史价格 */
    @Excel(name = "历史价格")
    private String oldPrice;

    /** 排序 */
    @Excel(name = "排序")
    private Integer priceSort;

    public void setPriceId(Long priceId) 
    {
        this.priceId = priceId;
    }

    public Long getPriceId() 
    {
        return priceId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setSpecsIds(String specsIds) 
    {
        this.specsIds = specsIds;
    }

    public String getSpecsIds() 
    {
        return specsIds;
    }
    public void setQualityId(Long qualityId) 
    {
        this.qualityId = qualityId;
    }

    public Long getQualityId() 
    {
        return qualityId;
    }
    public void setNewPrice(BigDecimal newPrice) 
    {
        this.newPrice = newPrice;
    }

    public BigDecimal getNewPrice() 
    {
        return newPrice;
    }
    public void setOldPrice(String oldPrice) 
    {
        this.oldPrice = oldPrice;
    }

    public String getOldPrice() 
    {
        return oldPrice;
    }
    public void setPriceSort(Integer priceSort)
    {
        this.priceSort = priceSort;
    }

    public Integer getPriceSort()
    {
        return priceSort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("priceId", getPriceId())
            .append("goodsId", getGoodsId())
            .append("specsIds", getSpecsIds())
            .append("qualityId", getQualityId())
            .append("newPrice", getNewPrice())
            .append("oldPrice", getOldPrice())
            .append("priceSort", getPriceSort())
            .toString();
    }
}
